var express = require('express');

/* GET home page. */
// router.get('/', function(req, res, next) {
//   res.render('index', { title: 'Express' });
// });

// module.exports = router;
module.exports = (app)=>{
  var router = express.Router();
  router.get('/',function(req,res,next){
    res.render('index', { title: 'Express' });
  })
  app.use('/',router);
}
